package com.sdi.business;

import java.util.List;

import com.sdi.business.exception.EntityAlreadyExistsException;
import com.sdi.business.exception.EntityNotFoundException;
import com.sdi.model.Tema;

public interface TemaService {
	
	List<Tema> getTemas();
	Tema findByName(String name) throws EntityNotFoundException;
	void saveTema(Tema tema) throws EntityAlreadyExistsException;
	void updateTema(Tema tema) throws EntityNotFoundException;
	void deleteTema(String name) throws EntityNotFoundException;

}
